package cn.broadsense.thrid.param;

import com.alibaba.fastjson2.JSONObject;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 人像库人员新增
 *
 * @author pengxin
 * @date 2022-10-12 16:36
 */
@NoArgsConstructor
@Data
public class FaceRepoMemberAddParam extends BaseParam{
    private static final long serialVersionUID = -7321363860376365471L;

    private String repositoryId;
    private Integer type;
    private String identificationId;
    private String name;
    private Integer region;
    private Integer nation;
    private String birthday;
    private Integer gender;
    private String phone;
    private String address;
    private String memo;
    private FacePictureParam facePicture;


    @Override
    public void checkParam() {

    }

    @Override
    public Class getResultClass() {
        return JSONObject.class;
    }

    @NoArgsConstructor
    @Data
    public static class FacePictureParam {
        private Integer type;
        private String data;
        private String urlX;
    }
}
